home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000139_news@watsun.cc.columbia.edu _Tue Jan 19 13:45:56 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA15143
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Jan 1999 13:45:54 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA16237
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Jan 1999 13:26:30 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: do11@calva.net (Dominique Ottello)
  10. Subject: Re: not the same string with echo as with write file
  11. Date: Tue, 19 Jan 1999 18:07:44 GMT
  12. Organization: PCatHome&Me
  13. Message-ID: <36a5c258.1103743@news.calvacom.fr>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. Le 18 Jan 1999 17:53:40 GMT, 
  17. fdc@watsun.cc.columbia.edu (Frank da Cruz) ∩┐╜crivait :
  18.  
  19. > Try this:
  20. >   def print_PC open append \m(FileLog),-
  21. >    write file {\v(Time) \fcontents(\%1)\13\10},close write-file
  22.  
  23. I tried and ..... there is the same problem.
  24.  
  25. I also tried many, many commands and syntax : \Fcontents, \Fliteral, with
  26. or without parameter \%1, with the macro \m(Affiche) in place of parameter
  27. \%1, with the complete string in place of parameter \%, with commands open,
  28. write file and close not inside a macro....  and, all times, the command
  29. "write file" evaluates the string and always give me : 
  30.   C:\A320∩┐╜9M55\ECDD3022∩┐╜90118.005
  31. in place of
  32.   C:\A320\1459M55\ECDD3022\19990118.005
  33.  
  34. I bypass the problem by use of external DOS command echo and another macro
  35. only for parameter that can be evaluated wrong
  36.  
  37.   def print_PC_DOS run echo \v(Time) \%1 >> \m(Filelog)
  38.  
  39. I'll use this new macro only to correct the line where the problem is
  40. because the use of DOS command echo generate CR/LF on the screen.
  41.  
  42. Thank you for your cooperation.
  43.  
  44. -- 
  45. == Dominique Ottello == do11@calva.net == Paris == France ==